import os

DEEBUD = True

SECRET_KEY = os.urandom(24)
# 数据库
DIALECT = 'mysql'
# 驱动 =
DRIVER = 'pymysql'
HOSTNAME = '127.0.0.1'
PORT = '3306'
USERNAME = 'root'
PASSWORD = '1590'
DATABASE = 'python'

SQLALCHEMY_DATABASE_URI = "{}+{}://{}:{}@{}:{}/{}?charset=utf8".format(DIALECT,DRIVER,USERNAME,PASSWORD,HOSTNAME,PORT,DATABASE)
SQLALCHEMY_TRACK_MODIFICATIONS = False